<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <head th:fragment="head">
        <meta charset="utf-8">
        <title>首页</title>
        <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/semantic-ui@2.4.2/dist/semantic.min.css">
        <script type="text/javascript" src=../static/js/jquery-3.1.1.min.js></script>
        <link rel="stylesheet" href="../static/css/typo.css" th:href="@{/css/typo.css}"/>
        <script src="https://cdn.jsdelivr.net/npm/semantic-ui@2.4.2/dist/semantic.min.js"></script>
        <link rel="stylesheet"href="../static/lib/toc/tocbot.css"th:href="@{/lib/toc/tocbot.css}" />
        <link rel="stylesheet" href="../static/css/menu.css"th:href="@{/css/menu.css}">
        <script src="../static/lib/toc/tocbot.min.js"></script>
        <script src="../static/lib/qrcode/qrcode.min.js" ></script>

    </head>
</head>
<body>
<nav th:fragment="menu(n)" class="ui inverted attached segment m-padded-tb-mini" >
    <div class="ui container">
        <div class="ui inverted secondary stackable menu">
            <h2 class="ui teal header item">Blog</h2>
            <a href="#" class=" active m-item item m-mobile-hide"><i class=" home icon"></i>首页</a>
            <a href="#" class="m-item item m-mobile-hide"><i class=" idea icon"></i>分类</a>
            <a href="#" class="m-item item m-mobile-hide"th:classappend="${n==3}?'active'> <i class=" tags icon"></i>标签</a>
            <a href="#" class="m-item item m-mobile-hide"th:classappend="${n==4}?'active'><i class=" clone icon"></i>归档</a>
            <a href="#" class="m-item item m-mobile-hide"th:classappend="${n==5}?'active'><i class=" info icon"></i>关于我</a>
            <div class="right m-item item m-mobile-hide">
                <div class="ui icon  input">
                    <input type="text" placeholder="Search..." >
                    <i class="search link icon"></i>
                </div>
            </div>
        </div>
    </div>
    <a href="#" class="ui menu toggle black icon button m-top-right m-mobile-show ">
        <i class="sidebar icon"></i>
    </a>
</nav>
</body>
</html>